package hu.myai.indicators.util;

import hu.myai.api.indicators.AbstractTrend;
import hu.myai.model.TrendLineVO;

/**
 * Implement a trend channel
 *
 * @author bozbalint
 *
 */
public class TrendChannel extends AbstractTrend {

    public TrendChannel(TrendLineVO trend, double y, int x) {
        super();

        levelList.add(trend);
        levelList.add(new TrendLineVO(y, x, trend.getTangens()));
    }
}
